﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp1
{
    public class ForeachInfo
    {
        public void PrintInfo()
        {
            string str = "珠穆朗玛峰";
            char[] ch = str.ToCharArray();
            foreach (var item in ch)
            {
                Console.WriteLine(item);
            }
        }
    }
}
